package com.mvc.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author H
 * @date 2023/1/8
 */
@RestController
@RequestMapping("interceptor")
public class TestInterceptorController {

    @GetMapping("test")
    public String test() {
        System.out.println("执行处理器逻辑");
        return "success";
    }

}
